﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace 校园教室管理系统
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        struct Classroom
        {
            int RoomBuildingNum;//楼号
            string RoomLocation;//东,南,西,北
            int RoomNum;//房间号
        }
        public MainWindow()
        {
            InitializeComponent();
        }

        private void adminLoginButton_Click(object sender, RoutedEventArgs e)
        {
            adminLogin al = new adminLogin();
            al.Show();
            this.Close();
        }

        private void teacherLoginButton_Click(object sender, RoutedEventArgs e)
        {
            teacherLogin tl = new teacherLogin();
            tl.Show();
            this.Close();
        }

        private void studentLoginButton_Click(object sender, RoutedEventArgs e)
        {
            studentLogin sl = new studentLogin();
            sl.Show();
            this.Close();
        }
    }
}
